home *** CD-ROM | disk | FTP | other *** search
/ Complete Linux / Complete Linux.iso / docs / apps / database / postgres / postgre4.z / postgre4 / src / lib / H / commands / command.h next >
Encoding:
C/C++ Source or Header  |  1992-08-27  |  1.2 KB  |  69 lines

  1. /*
  2.  * command.h --
  3.  *    POSTGRES utility command definitions.
  4.  */
  5.  
  6. #ifndef    CommandIncluded        /* Include this file only once */
  7. #define CommandIncluded    1
  8.  
  9. /*
  10.  * Identification:
  11.  */
  12. #define COMMAND_H    "$Header: /private/postgres/src/lib/H/commands/RCS/command.h,v 1.4 1991/11/11 23:02:47 hong Exp $"
  13.  
  14. /*
  15.  * PortalCleanup --
  16.  *    Cleans up the query state of the portal.
  17.  *
  18.  * Exceptions:
  19.  *    BadArg if portal invalid.
  20.  */
  21. extern
  22. void
  23. PortalCleanup ARGS((
  24.     Portal    portal
  25. ));
  26.  
  27. /*
  28.  * PerformPortalFetch --
  29.  *    Performs the POSTQUEL function FETCH.  Fetches count (or all if 0)
  30.  * tuples in portal with name in the forward direction iff goForward.
  31.  *
  32.  * Exceptions:
  33.  *    BadArg if forward invalid.
  34.  *    "WARN" if portal not found.
  35.  */
  36. extern
  37. void
  38. PerformPortalFetch ARGS((
  39.     String    name,        /* XXX PortalName */
  40.     bool    goForward,
  41.     Count    count,
  42.     String tag,
  43.         CommandDest dest
  44. ));
  45.  
  46. /*
  47.  * PerformPortalClose --
  48.  *    Performs the POSTQUEL function CLOSE.
  49.  */
  50. extern
  51. void
  52. PerformPortalClose ARGS((
  53.     String    name,        /* XXX PortalName */
  54.     CommandDest dest         
  55. ));
  56.  
  57. /*
  58.  * PerformAddAttribute --
  59.  *    Performs the POSTQUEL function ADD.
  60.  */
  61. extern
  62. void
  63. PerformAddAttribute ARGS((
  64.     Name    relationName,
  65.     List    schema
  66. ));
  67.  
  68. #endif    /* !defined(CommandIncluded) */
  69.